Skip to content

fix: avoid ambiguity in groovy expressions between safe indexing operator#217

Open
jenshp wants to merge 1 commit intomoqui:masterfrom
jenshp:safeIndexingOpAmbiguity
Open

fix: avoid ambiguity in groovy expressions between safe indexing operator#217
jenshp wants to merge 1 commit intomoqui:masterfrom
jenshp:safeIndexingOpAmbiguity

Conversation

@jenshp
Copy link
Member

@jenshp jenshp commented Feb 19, 2026

fix: avoid ambiguity in groovy expressions between safe indexing operator "?[]" and ternary conditional operator "cond ? expr1 : expr2"

The safe indexing operator was introduced in groovy 3 and the expressions that are being corrected in this pull request fix the ambiguity when using groovy 3+.

…ator "?[]" and ternary conditional operator "cond ? expr1 : expr2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant